package com.fare.taluo.vo.core;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ReturnTripEntityVO {
	/**
	 * 所属航班
	 */

	//private PlaneInfoEntity planeInfoEntity;
	/**
	 * 运营商简称英文，如：MU
	 */
	
	private String carrierKey;

	/**
	 * 运营商简称中文，如：南航
	 */
	private String carrierName;

	/**
	 * 运营商全名，如：中国海南航空公司
	 */
	private String carrierFullName;
	/**
	 * 航班号
	 */
	private String flightNo;
	/**
	 *出发城市编码
	 */
	private String fromCity ;
	/**
	 *到达城市 编码
	 */
	private String toCity;
	/**
	 *出发城市名称
	 */
	private String fromCityName ;
	/**
	 *到达城市名称
	 */
	private String toCityName;
	/**
	 *起飞机场
	 */
	private String fromAir;
	/**
	 *到达机场
	 */
	private String toAir;
	/**
	 * 航班批次日期。如:2012-05-19,格式:yyyy-MM-dd
	 * 作为回程也是有日期的
	 */
	private String flightDate;
	/**
	 * 航班起飞时间
	 */
	
	private Date startTime;
	/**
	 * 航班预计到达时间
	 */
	
	private Date endTime;
	/**
	 * 往返程价
	 * 去程+回程的最低总价
	 */
	private Double totalPrice;
	 /**
	 * 中转
	 * 回程也会有中转
	 */
	private List<TransitchangeEntityVO> transit = new ArrayList<TransitchangeEntityVO>();
	
	
	/*public ReturnTripEntity(){}
	public ReturnTripEntity(TaskQueueRecordEntity task){
		this.flightDate=task.getReturnGrabDate();
		this.fromCity=task.getFromCity();
		this.fromCityName=task.getFromCityName();
		this.toCity=task.getToCity();
		this.toCityName=task.getToCityName();
	}*/
	
	
	
	public String getCarrierKey() {
		return carrierKey;
	}
	public void setCarrierKey(String carrierKey) {
		this.carrierKey = carrierKey;
	}
	public String getCarrierName() {
		return carrierName;
	}
	public void setCarrierName(String carrierName) {
		this.carrierName = carrierName;
	}
	public String getCarrierFullName() {
		return carrierFullName;
	}
	public void setCarrierFullName(String carrierFullName) {
		this.carrierFullName = carrierFullName;
	}
	public String getFlightNo() {
		return flightNo;
	}
	public void setFlightNo(String flightNo) {
		this.flightNo = flightNo;
	}
	public String getFromCity() {
		return fromCity;
	}
	public void setFromCity(String fromCity) {
		this.fromCity = fromCity;
	}
	public String getToCity() {
		return toCity;
	}
	public void setToCity(String toCity) {
		this.toCity = toCity;
	}
	
	public String getFromCityName() {
		return fromCityName;
	}
	public void setFromCityName(String fromCityName) {
		this.fromCityName = fromCityName;
	}
	public String getToCityName() {
		return toCityName;
	}
	public void setToCityName(String toCityName) {
		this.toCityName = toCityName;
	}
	public String getFromAir() {
		return fromAir;
	}
	public void setFromAir(String fromAir) {
		this.fromAir = fromAir;
	}
	public String getToAir() {
		return toAir;
	}
	public void setToAir(String toAir) {
		this.toAir = toAir;
	}
	public String getFlightDate() {
		return flightDate;
	}
	public void setFlightDate(String flightDate) {
		this.flightDate = flightDate;
	}
	public Date getStartTime() {
		return startTime;
	}
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	public List<TransitchangeEntityVO> getTransit() {
		return transit;
	}
	public void setTransit(List<TransitchangeEntityVO> transit) {
		this.transit = transit;
	}
	public Double getTotalPrice() {
		return totalPrice;
	}
	public void setTotalPrice(Double totalPrice) {
		this.totalPrice = totalPrice;
	}
	
}
